/*
 * MyAccountListboxContentControl.h
 *
 *  Created on: 2011-3-11
 *      Author: 
 */

#ifndef MyAccountListboxContentControl_H_
#define MyAccountListboxContentControl_H_
#include "YuebaoTabControl.h"
#include <e32std.h>
#include "fBaseControl.h"
class fListbox;
class fEngine;

class MyAccountListboxContentControl : public fTabContentControl
{
public:
    ~MyAccountListboxContentControl( );
    static MyAccountListboxContentControl *NewL( fEngine * aEngine, TRect rect );
    static MyAccountListboxContentControl *NewLC( fEngine * aEngine, TRect rect );
private:
    MyAccountListboxContentControl( );
    void ConstructL( fEngine * aEngine, TRect rect );
public:
    void RenderFrame( );
    void HandleKey( f_KEY_DES * aKeyDes );
    TInt HandleMouse( fMouseEvent /*nType*/, TPoint /*sPoint*/ )
    {
        return 0;
    }
protected:
    virtual bool WillHandleKey( )
    {
        return false;
    }
    virtual void GetFocused( )
    {

    }
    virtual void LostFocuse( )
    {
        iEngine->HideCourse();
    }
protected:
    HBufC* _text1;
    HBufC* _text2;
    HBufC* _text3;
    HBufC* _text4;
    HBufC* _promote;
public:
    void SetText1( const TDesC& text );
    void SetText2( const TDesC& text );
    void SetText3( const TDesC& text );
    void SetText4( const TDesC& text );
    void SetPromote( const TDesC& promot );
protected:
    CFont* _font;
};

#endif /* MyAccountListboxContentControl_H_ */
